package com.ruoyi.finance.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CommissionRecordVo {

    @Excel(name = "提成类型",readConverterExp = "0=线下提成,1=品牌提成,2=商城提成,3=助理提成")
    private Integer type; // 提成类型(0=线下,1=品牌,2=商城,3=助理)

    @Excel(name = "销售部门")
    private String salesDept; // 销售部门

    @Excel(name = "销售员")
    private String salesName;     // 销售员

    @Excel(name = "销售金额(￥)")
    private BigDecimal salesAmount; // 销售金额(￥)

    @Excel(name = "实际毛利(￥)")
    private BigDecimal actualGrossProfit; // 实际毛利(￥)

    @Excel(name = "应发提成")
    private BigDecimal shouldPayCommission; // 应发提成

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提成年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date commissionDate; // 提成月份

    @Excel(name = "备注")
    private String remark; // 备注

}
